# -*- coding: utf-8 -*-
import random


def compareNum(num_1, num_2):
    if (num_1 > num_2):
        return 1
    elif (num_1 == num_2):
        return 0
    else:
        return -1


num_1 = random.randrange(1, 9)
num_2 = random.randrange(1, 9)

print("num_1=", num_1)
print("num_2=", num_2)
print(compareNum(num_1, num_2))
